import antfu from '@antfu/eslint-config'

export default antfu({
  rules: {
    'no-console': 'off',
    'prefer-const': 1,
    'no-void': 'off',
    'no-new': 'off',
    'eqeqeq': 'off',
    'vue/eqeqeq': 'off',
    'no-invalid-this': 'off',
    'no-new-func': 'off',
  },
  ignores: [
    '**/*.css',
    '**/*.scss',
    '**/*.vsix',
    '**/*.sh',
    '**/*.svg',
    '**/*.yml',
    '**/*.html',
    '**/*.json',
    '**/*.py',
    '**/*.xlsx',
    'src/jq/*.js',
  ],
})
